readm — Read Matrix from file


\begin{rail}
ReadMatrix : 'readm' '(' String ')' ;
\end{rail}
readm is used to read in a matrix argument. The argument specifies the file to read it from. The file format is generic ASCII. The rows of the matrix are separated by newlines, and the columns are separated by spaces or tabs. readm is intended to read in data from other programs, either directly or using a simple script. You shouldn't try to read in a string sequence using this function - the results will be strange. This function is directly compatible with the MATLABTM matrix storage method.

Subsections